home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCBOOT.ARJ
/
COLDBOOT.C
next >
Wrap
Text File
|
1992-03-05
|
536b
|
21 lines
/*****************************************************************************
coldboot.c
Developed November 1991 by Larry Reeve
A TurboC program to cold boot an IBM-PC (performs memory tests).
******************************************************************************/
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x0000;
(*PtrReboot) ();
}